import { RECEIVE_LIST , MOVIES_ARR} from './mutation-type';
import ListData from '../datas/list-data';
export default {
  getList({ commit }) {
    //触发对应的mutation
    commit(RECEIVE_LIST, ListData)
  },
  getMoviesArr({ commit },data) {
    commit(MOVIES_ARR, data)
  }
}